<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<%
     if(session.getAttribute("msg")!=null)
     {
       %>
        <script type="text/javascript">
         alert('<%=session.getAttribute("msg")%>');  
        </script>
       <%
       session.removeAttribute("msg");
     }
     %>

<link href="<%=basePath %>admin/images/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath %>fckeditor/fckeditor.js"></script>
<script type="text/javascript">
	window.onload = function()
	{
	var oFCKeditor = new FCKeditor( 'content' ) ;
	oFCKeditor.BasePath = "<%=basePath %>fckeditor/" ;
	oFCKeditor.ReplaceTextarea() ;
	}
</script>
<body>
	<form method="POST" action="extender!addExtender.action">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" height="29" valign="top"
					background="<%=basePath %>admin/images/mail_leftbg.gif">
					<img src="<%=basePath %>admin/images/left-top-right.gif" width="17" height="29" />
				</td>
				<td width="935" height="29" valign="top"
					background="<%=basePath %>admin/images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									推广信息录入
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top"
					background="<%=basePath %>admin/images/mail_rightbg.gif">
					<img src="<%=basePath %>admin/images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td height="71" valign="middle"
					background="<%=basePath %>admin/images/mail_leftbg.gif">
					&nbsp;
				</td>
				<td valign="top" bgcolor="#F7F8F9">
					<table width="100%" height="138" border="0" cellpadding="0"
						cellspacing="0">
						
						<tr>
							<td valign="top">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td class="left_txt">
											当前位置：推广信息录入
										</td>
									</tr>
									<tr>
										<td height="20">
											<table width="100%" height="1" border="0" cellpadding="0"
												cellspacing="0" bgcolor="#CCCCCC">
												<tr>
													<td></td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" height="55" border="0" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="10%" height="55" valign="middle">
														<img src="<%=basePath %>admin/images/title.gif" width="54" height="55">
													</td>
													<td width="90%" valign="top">
														<span class="left_txt2">在这里，您可以根据您的网站要求，修改设置网站的</span><span
															class="left_txt3">基本参数</span><span class="left_txt2">！</span>
														<br>
														<span class="left_txt2">包括</span><span class="left_txt3">网站名称，网址，网站备案号，联系方式，网站公告，关键词，风格</span><span
															class="left_txt2">等以及网站</span><span class="left_txt3">会员及等级积分设置</span><span
															class="left_txt2">。 </span>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" height="31" border="0" cellpadding="0"
												cellspacing="0" class="nowtable">
												<tr>
													<td class="left_bt2">
														&nbsp;&nbsp;&nbsp;&nbsp;推广信息录入
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" border="0" cellspacing="0"
												cellpadding="0">

												<tr>
													<td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">
														推广姓名：
													</td>
													<td width="1%" bgcolor="#f2f2f2">
														&nbsp;
													</td>
													<td width="30%" height="30" bgcolor="#f2f2f2">
														<input name="extender.ename" type="text" id="title" size="25"/>
														<font size="4" color="red">*</font>&nbsp;<font size="2">推广真实姓名</font>
													</td>													
													
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">
														会员性别：
													</td>
													<td>
														&nbsp;
													</td>
													<td height="30">
														<input type="radio" name="extender.sex" value="男" checked="checked"/><font size="2">男</font>
														<input type="radio" name="extender.sex" value="女" /><font size="2">女</font>
													</td>
									
												</tr>
												<tr>
													<td height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">
														所属学校：
													</td>
													<td bgcolor="#f2f2f2">
														&nbsp;
													</td>
													<td height="30" bgcolor="#f2f2f2">
														<select name="extender.sid" style="width:180px;text-align: center;">
														 <c:if test="${!empty schools}">
															<c:forEach items="${schools}" var="school">					
																<option value="${school.sid}">${school.sallname }</option>
															</c:forEach>
											              </c:if>
														 
														</select>
													</td>
													
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">
														登录用户：
													</td>
													<td>
														&nbsp;
													</td>
													<td height="30">
														<input type="text" name="extender.uanme" size="25" />
													</td>
													
												</tr>
												<tr>
													<td height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">
														登录密码：
													</td>
													<td bgcolor="#f2f2f2">
														&nbsp;
													</td>
													<td height="30" bgcolor="#f2f2f2">
														<input type="text" name="extender.upass" size="25" />
													</td>
												
												</tr>
												<tr>
													<td height="30" align="right" bgcolor="#F2F2F2"
														class="left_txt2">
														手机号码：
													</td>
													<td bgcolor="#F2F2F2">
														&nbsp;
													</td>
													<td height="30" bgcolor="#F2F2F2">
														<input name="extender.etel" type="text" size="25" />
													</td>
													
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">
														QQ&nbsp;&nbsp;号码：
													</td>
													<td>
														&nbsp;
													</td>
													<td height="30">
														<input type="text" name="extender.qqnum" size="25" />
													</td>
													
												</tr>
												<tr>
													<td height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">
														电子邮箱：
													</td>
													<td bgcolor="#f2f2f2">
														&nbsp;
													</td>
													<td height="30" bgcolor="#f2f2f2">
														<input type="text" name="extender.eemail" size="25" />
													</td>
													
												</tr>
												
												<tr>
													<td height="30" align="right" class="left_txt2">
														信息备注：
													</td>
													<td>
														&nbsp;
													</td>
													<td height="30">
														<textarea rows="30" cols="100" id="content" name="extender.econtent"></textarea>
													</td>
												</tr>
																								
												<tr height="30">
													<td height="17" colspan="2" align="right">
														<input type="submit" value="提交信息">
													</td>
													
													<td height="17" colspan="1" align="center">
														<input type="reset" value="信息重填">
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
				<td background="<%=basePath %>admin/images/mail_rightbg.gif">
					&nbsp;
				</td>
			</tr>
			<tr>
				<td valign="middle" background="<%=basePath %>admin/images/mail_leftbg.gif">
					<img src="<%=basePath %>admin/images/buttom_left2.gif" width="17" height="17" />
				</td>
				<td height="17" valign="top"
					background="<%=basePath %>admin/images/buttom_bgs.gif">
					<img src="<%=basePath %>admin/images/buttom_bgs.gif" width="17" height="17" />
				</td>
				<td background="<%=basePath %>admin/images/mail_rightbg.gif">
					<img src="<%=basePath %>admin/images/buttom_right2.gif" width="16" height="17" />
				</td>
			</tr>
		</table>
	</form>
</body>
